#!python
#
# Pyste file for osg::SFColorNT (for various values of N and T).

Import("Field.pyste")

SField = Template('osg::SField', 'OpenSG/OSGSFBaseTypes.h')

for size in [3, 4]:
   for type in ['ub', 'f']:
      name = 'Color%d%s' % (size, type)
      c = SField('osg::' + name)
      final(c)
      rename(c, 'SF' + name)
      set_policy(c.getType, return_internal_reference(1))
      set_policy(c.getContentType, return_internal_reference(1))
      set_policy(c.getValueByStr, return_internal_reference(1))
      set_policy(c.getValue, return_internal_reference(1))
      exclude(c.syncWith)
      exclude(c.copyToBin)
      exclude(c.copyFromBin)
      exclude(c.getValue)
